﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BMS.Models
{
    public class PDF_QuotationInvoiceModel : PDFModel
    {
        public void SetPDfFileName()
        {
            if (IsQuotation == true && IsInvoice == false)
                PDFFileName = QuotationNo + ".pdf";
            else if (IsQuotation == false && IsInvoice == true)
                PDFFileName = InvoiceNo + ".pdf";
        }
    }
}